package com.fosss.band.entity;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author: fosss
 * Date: 2023/12/28
 * Time: 17:22
 * Description:
 */
@Data
public class User {
    //用户角色
    public static final int admin = 0;
    public static final int bandMember = 1;
    public static final int fan = 2;

    private int id;
    private String username;
    private String email;
    private int gender;
    private int age;
    private String profession;
    private String education;
    private String password;
    private Date createTime;
    private String avatar;
    private int role;
}
